package cn.dianhun.security.servie;

import cn.dianhun.security.pojo.TUserEntity;

import java.util.List;

/**
 * @author cyt
 * @create 2020-07-17 15:42
 */


public interface UserService {
    /**
     * 名称查找
     *
     * @param username
     * @return
     */
    TUserEntity getUserByUsername(String username);

    /**
     * 安装  id 查权限列表
     *
     * @param uid
     * @return
     */
    List<String> findPermissionsByUserId(String uid);
}
